<template>
	<view class="center">
		<!-- <view class="tit"></view>
		<view class="title">
			<image src="@/static/images/arrow_left.png" mode="widthFix" @click="back"></image>
			<text></text>
			<view class="ima">
				<image src="@/static/images/s22.png" mode="widthFix" @click="history"></image>
			</view>
		</view> -->
		<hea-ders title="收款单">
			<image slot='left' src="@/static/images/arrow_left.png" mode="widthFix" @click="back"></image>
			<image slot='Rright' src="@/static/images/s22.png" mode="widthFix"@click="history"></image>
		</hea-ders>
		<view class="cont">
			<image src="../../../../static/images/s23.png" mode="widthFix"></image>
			<view class="character">
				<text class="success">单据记账成功</text>
				<text class="math">编号：WMK-20200610-003</text>
			</view>
			<view class="btn">
				<view class="btn_t" @click="check"></view>
				<view class="btn_z" @click="print"></view>
			</view>
			<view class="continue"></view>
		</view>
	
	</view>
</template>

<script>
	import heaDers from '@/pages/header/header.vue'
	export default {
		components:{
			heaDers
		},
		data() {
			return {
			
			}
		},
	
		methods: {
		check(){
			uni.navigateTo({
				url:'../close/close'
			})
		},
		print(){
			uni.navigateTo({
				url:'../print/print'
			})
		},
		history(){
			uni.navigateTo({
				url:'../history/history'
			})
		},
		}
	}
</script>

<style lang="scss" scoped>
	.center {
		width: 100%;
		height: 100vh;
		box-sizing: border-box;
		background: rgba(245, 245, 245, 1);
		overflow-y: scroll;
		.title {
			width: 100%;
			height: 88rpx;
			padding: 0 30rpx;
			box-sizing: border-box;
			background-color: rgba(36, 153, 246, 1);
			display: flex;
			justify-content: space-between;
			align-items: center;

			image {
				width: 22rpx;
			}

			text {
				font-size: 36rpx;
				color: #fff;
				font-weight: 400;
				font-family: PingFang SC;
			}

			.ima {
				image {
					width: 40rpx;
					margin-left: 5rpx;
				}
			}
		}
		.cont {
			margin: 20% auto;
			text-align: center;
			image{
				width: 160rpx;
			}
			.character{
				display: flex;
				flex-direction: column;
				.success{
					margin: 20rpx 0;
					font-size:40rpx;
					font-family:PingFang SC;
					font-weight:500;
					line-height:56rpx;
					color:rgba(36,153,246,1);
					opacity:1;
				}
				.math{
					margin: 20rpx 0;
					font-size:28rpx;
					font-family:PingFang SC;
					font-weight:500;
					line-height:40rpx;
					color:rgba(66,66,66,1);
					opacity:1;
				}
			}
			.btn{
				display: flex;
				align-items: center;
				justify-content: space-between;
				padding: 0 15%;
					margin: 20rpx 0;
				.btn_t{
					width:200rpx;
					height:56rpx;
					background: url(../../../../static/images/s24.png) no-repeat;
					background-size: 100% 100%;
				}
			.btn_z{
				width:200rpx;
				height:56rpx;
				background: url(../../../../static/images/s26.png) no-repeat;
				background-size: 100% 100%;
			}
		}
			.continue{
				width:512rpx;
				height:56rpx;
				background: url(../../../../static/images/s25.png) no-repeat;
				background-size: 100% 100%;
				margin: 10% auto;
			}
		}
	}
</style>
